﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>Maxx</title>
    <link rel="stylesheet" type="text/css" href="css/reset.css" />
    <link rel="stylesheet" type="text/css" href="css/base.css" />
    <link rel="stylesheet" type="text/css" href="css/tipTip.css" />
    <link rel="stylesheet" type="text/css" href="css/short-code.css" />
    <link rel="stylesheet" type="text/css" href="css/prettyPhoto.css" />
    <link rel="stylesheet" type="text/css" href="css/css3.css" />
    <link rel="stylesheet" type="text/css" href="css/slider.css" />
    <script type="text/javascript" src="js/jquery-1.6.4.min.js"></script>
    <script type="text/javascript" src="../scripts/ext-all.js"></script>
    <script type="text/javascript" src="../scripts/HotelAppJs.js"></script>
    <script type="text/javascript" src="js/jquery.nivo.slider.js"></script>
    <script type="text/javascript" src="js/cufon-yui.js"></script>
    <script type="text/javascript" src="js/TitilliumText.font.js"></script>
    <script type="text/javascript" src="js/cufon-replace.js"></script>
    <script type="text/javascript" src="js/scripts.js"></script>
    <script type="text/javascript" src="js/custom.js"></script>
    <script type="text/javascript" src="js/shortcode.js"></script>
    <!--[if IE 7]><link rel="stylesheet" type="text/css" href="css/ie7.css"><![endif]-->
    <script type="text/javascript">
        SetHeaderAndFooter();
        Ext.onReady(function () {
            //Ext.QuickTips.init();
            var loc = location.href.substring(0, location.href.indexOf('?'));
            var param = location.search;
            var start = 0;
            if (param != null && param != '' && param != undefined) {
                start = param.substring(param.indexOf('=') + 1) - 1;
            }
            Ext.Ajax.request({
                url: '../HotelWebService.asmx/ListNewsInfo',
                success: function (response, opts) {
                    var result = response.responseText.replace(new RegExp('(^|[^\\\\])\\"\\\\/Date\\((-?[0-9]+)\\)\\\\/\\"', 'g'), "$1new Date($2)");
                    eval('var result =' + result + ';');
                    {
                        if (result.total > 0) {
                            var htmlContent = CreateTable(result.data);
                            $("#divContent").html(htmlContent);
                            var htmlPage = CreatePagination(result, start + 1, loc);
                            $("#divPage").html(htmlPage);
                        }
                    }
                },
                failure: function (response, opts) {
                    //Ext.Msg.alert(AdviceLang.AlertInfo, AdviceLang.LoginFailed);
                },
                params: { categoryCode: 'C000000004', startIndex: start, limit: 2 }
            });
        });
    </script>
</head>
<body>
    <!--Header-->
    <div id="divHeader">
    </div>
    <!--/Header-->
    <!--Body content-->
    <div class="full-width-wrapper">
        <div class="fixed-width-wrapper" id="body-content">
            <!--Content-->
            <div id="content" class="float-left content-left">
                <div class="header-text">
                    <ul id="breadcrumbs">
                        <li><a href="#" title="">首页</a></li><li class="current"><a href="#" title="">优惠活动
                            </a></li></ul>
                    <h1 class="first-word double-color sp">
                        Sale Information</h1>
                    <ul id="view-switcher">
                        <li><a href="#display-list-alternate" class="display-list-alternate" title="">List ALternate</a></li><li>
                            <a href="#display-list" class="display-list" title="">List view</a></li><li><a href="#display-short"
                                class="display-short" title="">Double column</a></li></ul>
                </div>
                <div class="entry-content">
                    <div id="divContent">
                    </div>
                    <!--Pagination-->
                    <!--<div class="clear">
                    </div>-->
                    <div class="page-pagination clear">
                        <!--<a href="#" title="">Prev</a><a href="#" title="">1</a><a href="#" title="" class="current">2</a><a
                            href="#" title="">3</a><a href="#" title="">4</a><a href="#" title="">5</a><span>...</span><a
                                href="#" title="">15</a><a href="#" title="">Next</a>-->
                        <div id="divPage">
                        </div>
                    </div>
                    <!--/Pagination-->
                </div>
            </div>
            <!--/Content-->
            <!--Sidebar-->
            <div id="sidebar" class="float-right">
                <!--box-->
                <div class="box">
                    <h1 class="first-word double-color sp">
                        All Categories</h1>
                    <ul class="list cat">
                        <li><a href="#" title="">Web templates (5432)</a></li><li class="current"><a href="#"
                            title="">Web Developement (1324)</a></li><li><a href="#" title="">Corporate Identity
                                (8214)</a></li><li><a href="#" title="">Print & Media (3212)</a></li><li><a href="#"
                                    title="">Motion Graphics (343)</a></li><li><a href="#" title="">Logo Design (7438)</a></li><li>
                                        <a href="#" title="">Tutorial (43243))</a></li></ul>
                </div>
                <!--/box-->
                <!--box-->
                <!--/box-->
                <!--/box-->
            </div>
            <!--/Sidebar-->
            <!--Get in touch-->
            <!--/Get in touch-->
        </div>
    </div>
    <!--/Body content-->
    <!--Footer Extra-->
    <div id="divFooter">
    </div>
    <!--/Footer Extra-->
</body>
</html>
